/**
 * 对象类型
 * @flow
 */

 const obj1: {foo: string, bar: number} = {foo: "", bar: 1}
 const obj2: {foo: string, bar?: number} = {foo: ""}

 const obj3: {[string]: number} = {}

 obj3.fds = 123213